package ModelLayer;

/**
 * Sub class of Person: Contains the information to create a customer.
 * 
 * @author (Gruppe 3)
 */
public class Customer extends Person
{
    private String customerID;
    private double discount;
    private String cvrNr;

    /**
     * constructor
     */
    public Customer(String name, String address, String phone, String email, String customerID, double discount, String cvrNr)
    {
        super(name, address, phone, email);
        this.customerID = customerID;
        this.discount = discount;
        this.cvrNr = cvrNr;
    }
    
    // set / get methods
    public String getCustomerID()
    {
        return customerID;
    }

    public double getDiscount()
    {
        return discount;
    }
    
    public String getCvrNr()
    {
        return cvrNr;
    }
    
    public void setCustomerID(String customerID)
    {
        this.customerID = customerID;
    }
    
    public void setDiscount(double discount)
    {
        this.discount = discount;
    }
    
    public void setCvrNr(String cvrNr)
    {
        this.cvrNr = cvrNr;
    }
}






